package it.cqupt.service.store;

import com.github.pagehelper.PageInfo;
import it.cqupt.domain.store.Company;

import java.util.List;

public interface CompanyService {
    void save(Company company);
    void delete(Company company);
    void update(Company company);
    Company findById(String id);
    List<Company> findAll();
    //使用pagehelper这个工具来直接实现分页显示
    PageInfo findAll(int page,int size);
}
